home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 02r.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  2.0 KB  |  79 lines

  1. on startMovie
  2.   global gCursorReady, gKnobState, gMagCursor, gsearchOn, qtChan, gKnobSprite, gSendMovie, gCurrentLocation
  3.   puppetSprite(44, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6.   gCurrentLocation = 2
  7.   gSendMovie = "02r"
  8.   puppetSound(0)
  9.   qtChan = 35
  10.   sprite(qtChan).volume = 256
  11.   cast("taxmem").directToStage = 1
  12.   preLoad(qtChan - 1)
  13.   initGlobals()
  14.   gKnobSprite = 17
  15.   setUpKnob()
  16.   if gsearchOn = 1 then
  17.     sprite(6).visible = 1
  18.   else
  19.     sprite(6).visible = 0
  20.   end if
  21.   set the mouseDownScript to EMPTY
  22.   set the mouseUpScript to EMPTY
  23. end
  24.  
  25. on stopMovie
  26.   puppetSprite(38, 0)
  27. end
  28.  
  29. on idle
  30.   global gCursorReady
  31.   if gCursorReady = 1 then
  32.     cursor(200)
  33.     checkCursors()
  34.     set the locH of sprite 44 to the mouseH
  35.     set the locV of sprite 44 to the mouseV
  36.     updateStage()
  37.   end if
  38. end
  39.  
  40. on checkCursors
  41.   global gMagCursor
  42.   set the castNum of sprite 44 to the number of member "curs1"
  43.   if rollOver(5) then
  44.     set the castNum of sprite 44 to the number of member "hotCursor"
  45.   end if
  46.   if rollOver(22) then
  47.     set the castNum of sprite 44 to the number of member "hotCursor"
  48.   end if
  49.   if rollOver(7) then
  50.     set the castNum of sprite 44 to the number of member "deMagCursor"
  51.   end if
  52.   repeat with i = 8 to 12
  53.     if rollOver(i) then
  54.       set the castNum of sprite 44 to the number of member "hotCursor"
  55.     end if
  56.   end repeat
  57.   repeat with i = 14 to 21
  58.     if rollOver(i) then
  59.       set the castNum of sprite 44 to the number of member "hotCursor"
  60.     end if
  61.   end repeat
  62.   repeat with i = 23 to 27
  63.     if rollOver(i) then
  64.       set the castNum of sprite 44 to the number of member "hotCursor"
  65.     end if
  66.   end repeat
  67.   if rollOver(35) then
  68.     set the castNum of sprite 44 to the number of member "nonCursor"
  69.   end if
  70.   if rollOver(36) then
  71.     set the castNum of sprite 44 to the number of member "hotCursor"
  72.   end if
  73.   repeat with i = 40 to 42
  74.     if rollOver(i) then
  75.       set the castNum of sprite 44 to the number of member "hotCursor"
  76.     end if
  77.   end repeat
  78. end
  79.